package com.eco.fanliapp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.fanliapp.entity.AppGoodsShopdrs;

import java.util.List;

/**
 * 图文详情 数据层
 * 
 * @author xiaoxx
 * @date 2019-05-07
 */
public interface AppGoodsShopdrsMapper extends BaseMapper<AppGoodsShopdrs>
{
	/**
     * 查询图文详情信息
     * 
     * @param tableId 图文详情ID
     * @return 图文详情信息
     */
	AppGoodsShopdrs selectAppGoodsShopdrsById(Long tableId);
	
	/**
     * 查询图文详情列表
     * 
     * @param appGoodsShopdrs 图文详情信息
     * @return 图文详情集合
     */
	List<AppGoodsShopdrs> selectAppGoodsShopdrsList(AppGoodsShopdrs appGoodsShopdrs);
	
	/**
     * 新增图文详情
     * 
     * @param appGoodsShopdrs 图文详情信息
     * @return 结果
     */
	int insertAppGoodsShopdrs(AppGoodsShopdrs appGoodsShopdrs);
	
	/**
     * 修改图文详情
     * 
     * @param appGoodsShopdrs 图文详情信息
     * @return 结果
     */
	int updateAppGoodsShopdrs(AppGoodsShopdrs appGoodsShopdrs);
	
	/**
     * 删除图文详情
     * 
     * @param tableId 图文详情ID
     * @return 结果
     */
	int deleteAppGoodsShopdrsById(Long tableId);
	
	/**
     * 批量删除图文详情
     * 
     * @param tableIds 需要删除的数据ID
     * @return 结果
     */
	int deleteAppGoodsShopdrsByIds(String[] tableIds);

	AppGoodsShopdrs selectAppGoodsShopdrsByShopId(String shopid);
	
}